//
// Created by 束庆乐 on 2024/12/27.
//
#include <iostream>
using namespace std;

int main004 (){
    float f1 = 3.14f;
    double d1 = 3.22;
    cout << f1 << endl;
    cout << d1 << endl;

    cout << "float size == " << sizeof(float ) << endl;
    cout << "double size == " << sizeof(double ) << endl;
    cout << "float size == " << sizeof(f1 ) << endl;
    cout << "double size == " << sizeof(d1 ) << endl;

    //科学计算法
    float f2 = 3e2;
    cout << "f2 == " << f2 << endl;
    float f3 = 3e-2;
    cout << "f3==" << f3 << endl;

    return 0;
}
